c1775904bffe2ce3a03d196c9cf81e4e8addead3,modules/citrus-core/src/main/java/com/consol/citrus/variable/dictionary/xml/NodeMappingDataDictionary.java,NodeMappingDataDictionary,translate,#Node#String#TestContext#,41
Before Change
if (log.isDebugEnabled()) {
log.debug(String.format("Data dictionary setting element '%s' with value: %s", nodePath, mappings.get(nodePath)));
}
return context.replaceDynamicContentInString(mappings.get(nodePath));
}
} else if (getPathMappingStrategy().equals(PathMappingStrategy.ENDS_WITH)) {
for (Map.Entry<String, String> entry : mappings.entrySet()) {
After Change
if (log.isDebugEnabled()) {
log.debug(String.format("Data dictionary setting element '%s' with value: %s", nodePath, mappings.get(nodePath)));
}
return convertIfNecessary(context.replaceDynamicContentInString(mappings.get(nodePath)), value);
}
} else if (getPathMappingStrategy().equals(PathMappingStrategy.ENDS_WITH)) {
for (Map.Entry<String, String> entry : mappings.entrySet()) {